<template>
    <view class="globe_back">
        <view class="box">
            <view class="fw_bold f_40">买家给你评价了，快来回复吧</view>

            <!-- 商品 -->
            <view class="flex back_fff p_24 br_24 mt_24">
                <view>
                    <image class="shopImg" src="@/static/imgs/img.png" mode="widthFix"></image>
                </view>
                <view>
                    <view class="fw_bold f_32 listTitle">小牛电动 B0都市版新国标...</view>
                    <view class="flex justify_content_between">
                        <view class="cl_999CA3 mr_24 f_28">2021新款;220V</view>
                        <view class="cl_999CA3 mr_24 f_28">x1</view>
                    </view>
                    <view class="flex justify_content_end mt_40 f_28">￥50.25</view>
                </view>
            </view>
            <!-- 评价 -->
            <view class="evaluateList mt_24">
                <view class="flex">
                    <view>
                        <image class="userImg" src="@/static/imgs/img.png" mode="widthFix"></image>
                    </view>
                    <view>
                        <text class="title">匿名</text>
                        <text class="time">105天前</text>
                        <u-rate :count="count" v-model="value" active-color="#FF6401" inactiveColor="#F7F7F7" size="16"></u-rate>
                    </view>
                </view>
                <view class="evatext">很好</view>
                <view>
                    <image class="evaluateImg" src="@/static/imgs/img.png" mode="widthFix"></image>
                    <image class="evaluateImg" src="@/static/imgs/img.png" mode="widthFix"></image>
                    <image class="evaluateImg" src="@/static/imgs/img.png" mode="widthFix"></image>
                </view>
                <!-- 回复 -->
                <view class="reply">
                    <text style="color: #3377ff">商家回复：</text>
                    <text>感谢信任~</text>
                </view>
            </view>
        </view>
        <view style="height: 20px"></view>
    </view>
</template>

<script>
export default {
    data() {
        return {
            url: '',
            count: 5,
            value: 2,
            type: 1 //0售后处理完成，1买家取消订单
        };
    },
    onShow() {
        this.url = this.baseUrl + this.imgPath;
    },
    onLoad(e) {},
    methods: {}
};
</script>

<style scoped lang="scss">
.buyerInfo {
    padding: 24rpx 32rpx;
    background: white;
    border-radius: 24rpx;
    margin: 24rpx 0;
    font-size: 28rpx;
    .name {
        margin-bottom: 16rpx;
    }
    .phone {
        color: #999ca3;
        margin-left: 16rpx;
    }
}
.shopImg {
    width: 200rpx;
    height: 200rpx;
    border-radius: 16rpx;
    margin-right: 24rpx;
}
.listTitle {
    width: 400rpx;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.box {
    padding: 32rpx;
    .addTitle {
        font-size: 40rpx;
        color: #00091a;
        font-weight: bold;
    }
    .addText {
        font-size: 28rpx;
        color: #999ca3;
        margin-top: 16rpx;
    }
    .icon_r {
        width: 32rpx;
        height: 32rpx;
        vertical-align: middle;
        margin-top: 36rpx;
    }
    .address {
        background: white;
        border-radius: 16rpx;
        padding: 24rpx;
    }
    .coupon,
    .detailedBox {
        background: white;
        border-radius: 16rpx;
        padding: 24rpx;
        margin-top: 24rpx;
    }
    .ProductMap {
        width: 200rpx;
        height: 200rpx;
        border-radius: 16rpx;
    }
    .couT {
        width: 30%;
        margin: 16rpx 0;
        color: #333a47;
        font-size: 28rpx;
    }
    .coutext {
        width: 70%;
        padding: 16rpx 0;
        font-size: 28rpx;
        color: #ccced1;
    }
    .couponIcon {
        width: 32rpx;
        height: 32rpx;
        vertical-align: middle;
    }
    .detailed {
        color: #333a47;
        font-size: 28rpx;
        margin-bottom: 32rpx;
    }
}
.title {
    font-size: 28rpx;
    color: #333a47;
}
.info {
    font-size: 28rpx;
    color: #00091a;
    margin-top: 32rpx;
}
.infoimg {
    width: 140rpx;
    height: 140rpx;
    border-radius: 16rpx;
    margin: 24rpx 12rpx;
}
.store {
    padding: 24rpx;
    background: white;
    border-radius: 24rpx;
    margin-top: 30rpx;
}

.evaluate {
    padding: 32rpx;
}
.evaluateList {
    background: white;
    border-radius: 16rpx;
    padding: 24rpx;
    margin-bottom: 24rpx;
}
.userImg {
    width: 64rpx;
    height: 64rpx;
    border-radius: 50%;
}
.title {
    margin: 0 8rpx;
    color: #00091a;
    font-size: 28rpx;
}
.time {
    color: #ccced1;
    font-size: 24rpx;
}
.evatext {
    font-size: 28rpx;
    color: #00091a;
    margin: 16rpx 0;
}
.evaluateImg {
    width: 196rpx;
    height: 196rpx;
    border-radius: 16rpx;
    margin: 9rpx;
}
.reply {
    padding: 24rpx;
    background: #f7f7f7;
    border-radius: 16rpx;
    font-size: 28rpx;
}
</style>
